
from PyQt4 import QtGui


def get_desktop():
    return QtGui.QDesktopWidget()


def get_desktop_size():
    return get_desktop().size()


def get_screen_geometry():
    return get_desktop().screenGeometry()


def get_available_geometry():
    return get_desktop().availableGeometry()